package com.server.dao;



import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.server.entity.DanweiEntity;
import com.server.entity.view.DanweiView;
import com.server.entity.vo.DanweiVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 单位
 * 
 * @author 
 * @email 
 * @date 2021-03-09 11:06:58
 */
public interface DanweiDao extends BaseMapper<DanweiEntity> {
	
	List<DanweiVO> selectListVO(@Param("ew") Wrapper<DanweiEntity> wrapper);
	
	DanweiVO selectVO(@Param("ew") Wrapper<DanweiEntity> wrapper);
	
	List<DanweiView> selectListView(@Param("ew") Wrapper<DanweiEntity> wrapper);

	List<DanweiView> selectListView(Page<?> page, @Param("ew") Wrapper<DanweiEntity> wrapper);
	
	DanweiView selectView(@Param("ew") Wrapper<DanweiEntity> wrapper);
	
}
